package com.ineatconseil.yougo.bo;

import org.springframework.data.document.mongodb.index.Indexed;
import org.springframework.data.document.mongodb.mapping.Document;


/**
 * This business object represents the type of an user. For example, this user
 * type could be : - A manager - A basic user
 * 
 * @author David BRASSELY
 * @author Hubert SABLONNIERE
 * 
 */
@Document
public class UserType extends BaseEntity {

	private static final long serialVersionUID = -8069569363560456786L;

	/**
	 * The description of this user type
	 */
	@Indexed(unique = true, dropDups = true)
	private String description;

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

}
